/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.cput.ac.principles.ocp.ocpviolation.impl;

/**
 *
 * @author Ilyaas Khatib
 */
public class Draw {
    
    void create(){
        drawCircle();
        drawSquare();
    }
    
    public void drawCircle(){
        int radius = 5;
        double area = Math.pow(radius, 2) * Math.PI;
        System.out.println("Area of circle is: " +area+"cm");
    }
    
    public void drawSquare(){
        int length = 5;
        int area = length*length;
        System.out.println("Area of square is: "+ area+"cm");
    }
    
}
